package com.xinminda.dcf.bean;

import java.util.List;

public class ColumnsBean {

    /**
     * id : 144
     * isLeaf : 0
     * leafes : [{"id":147,"isLeaf":1,"leafes":[],"name":"黄石港","type":1},
     * {"id":148,"isLeaf":1,"leafes":[],"name":"西塞山","type":1},
     * {"id":150,"isLeaf":1,"leafes":[],"name":"下陆","type":1},
     * {"id":149,"isLeaf":1,"leafes":[],"name":"铁山","type":1},
     * {"id":151,"isLeaf":1,"leafes":[],"name":"开发区","type":1}]
     * name : 区县
     * type : 1
     */

    private int id;
    private int isLeaf;
    private String name;
    private int type;
    private List<LeafesBean> leafes;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getIsLeaf() {
        return isLeaf;
    }

    public void setIsLeaf(int isLeaf) {
        this.isLeaf = isLeaf;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public List<LeafesBean> getLeafes() {
        return leafes;
    }

    public void setLeafes(List<LeafesBean> leafes) {
        this.leafes = leafes;
    }

    public static class LeafesBean {
        /**
         * id : 147
         * isLeaf : 1
         * leafes : []
         * name : 黄石港
         * type : 1
         */

        private int id;
        private int isLeaf;
        private String name;
        private int type;
        private List<?> leafes;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getIsLeaf() {
            return isLeaf;
        }

        public void setIsLeaf(int isLeaf) {
            this.isLeaf = isLeaf;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public List<?> getLeafes() {
            return leafes;
        }

        public void setLeafes(List<?> leafes) {
            this.leafes = leafes;
        }
    }
}
